import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { SbcmaterialModule } from '../sbcmaterial/sbcmaterial.module';
import { SharedModule } from './../shared/shared.module';
import { AgGridModule } from 'ag-grid-angular/main';
import { FaultRoutingModule } from './fault-routing.module';
import { MAT_DATE_LOCALE } from '@angular/material/core';
import { FaultComponent } from './fault/fault.component';


@NgModule({
  imports: [
    CommonModule,
    SharedModule,
    SbcmaterialModule,
    AgGridModule.withComponents([]),
    FaultRoutingModule
  ],
  declarations: [FaultComponent],
  providers: [
    {provide: MAT_DATE_LOCALE, useValue: 'cn-CN'}
  ]
})
export class FaultModule { }
